package com.macro.mall.dao.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.pms.PmsCommentDO;
import com.macro.mall.model.pms.PmsCommentQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PmsCommentMapper extends BaseMapper<PmsCommentDO> {
    long countByExample(PmsCommentQuery example);

    int deleteByExample(PmsCommentQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsCommentDO record);

    int insertSelective(PmsCommentDO record);

    List<PmsCommentDO> selectByExampleWithBLOBs(PmsCommentQuery example);

    List<PmsCommentDO> selectByExample(PmsCommentQuery example);

    PmsCommentDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsCommentDO record, @Param("example") PmsCommentQuery example);

    int updateByExampleWithBLOBs(@Param("record") PmsCommentDO record, @Param("example") PmsCommentQuery example);

    int updateByExample(@Param("record") PmsCommentDO record, @Param("example") PmsCommentQuery example);

    int updateByPrimaryKeySelective(PmsCommentDO record);

    int updateByPrimaryKeyWithBLOBs(PmsCommentDO record);

    int updateByPrimaryKey(PmsCommentDO record);
}
